include mixin
html
    -if(!item)
        -item = {}
    head
        title 外链编辑
        include ./cssAndjs/head
    body
        +modal
        .container(style={padding:40})
            .row
                .col-md-4.col-md-offset-4
                    form(role='.form')
                        .form-group
                            label.control-label(for='url') url:
                            input.form-control(id='url', name='url', value=item.url)
                        .form-group
                            label.control-label(for='createTime') 发送邮件时间
                            +dateInput(item.createTime, 'createTime')
                        .form-group
                            label.control-label(for='domain') 域名
                            input.form-control(id='domain', name='domain', value=item.domain)
                        .form-group
                            label.control-label(for='email') 邮箱
                            input.form-control(id='email', name='email', value=item.email)
                        .form-group
                            label.control-label(for='status') 状态
                            input.form-control(id='status', name='status', value=item.status)
                        .form-group
                            label.control-label(for='successTime') 获取外链时间
                            +dateInput(item.successTime, 'successTime')
                    button#submit.btn.btn-default 提交

        include ./cssAndjs/body
        +script('/js/url.js')